package com.ow.dva.module.park.service.impl;

import com.ow.dva.module.park.entity.Road;
import com.ow.dva.module.park.mapper.RoadMapper;
import com.ow.dva.module.park.service.RoadService;
import com.ow.dva.module.base.service.impl.DvaServiceImpl;
import com.ow.dva.config.annotation.DvaCache5M;
import org.springframework.stereotype.Service;
import com.ow.dva.module.base.entity.param.DvaPage;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 车道表 服务实现类
 * </p>
 *
 * @author zsj
 * @since 2020-04-08
 * @version V1.0
 */
@Service
public class RoadServiceImpl extends DvaServiceImpl<RoadMapper, Road> implements RoadService {

    @Override
    public DvaPage<Road> page(DvaPage<Road> page, Map<String, Object> param) {

        return baseMapper.page(page,param);
    }

    @Override
    public Road selectByPark(Road road) {
        return baseMapper.selectByPark(road);
    }
}
